#include "StdAfx.h"
#include "GraphicDevice.h"

Handle_Graphic3d_WNTGraphicDevice CGraphicDevice::m_hGraphicDevice;

CGraphicDevice::CGraphicDevice(void)
{
}

CGraphicDevice::~CGraphicDevice(void)
{
}

bool CGraphicDevice::Initialize()
{
	try
	{
		m_hGraphicDevice = new Graphic3d_WNTGraphicDevice();
	}
	catch (Standard_Failure)
	{
		return false;
	}

	return true;
}

Handle_Graphic3d_WNTGraphicDevice CGraphicDevice::GetGraphicDC()
{
	return m_hGraphicDevice;
}